package com.zhanglu.fun.services.datacenter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @description 启动类
 * @author zhanglu
 * @date 2017/6/3 12:42
 */
@SpringBootApplication
@EnableEurekaClient // 启动EnableEureka客户端
@EnableSwagger2
public class Boot {
    public static void main(String[] args) throws Exception {
        SpringApplication.run(Boot.class, args);
    }
}
